package org.rcloud.io.service;

import com.github.pagehelper.PageInfo;
import org.rcloud.io.Utils.PageVo;
import org.rcloud.io.Utils.ResultVo;
import org.rcloud.io.model.Collect;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/2/26.
 */

public interface CollectService {
    ResultVo deleteByPrimaryKey(Collect id);

    ResultVo insert(Collect record);

    ResultVo insertSelective(Collect record);

    ResultVo selectByPrimaryKey(Collect id);

    ResultVo updateByPrimaryKeySelective(Collect record);

    ResultVo updateByPrimaryKey(Collect record);

    PageInfo<Collect> selectByOther(int pageNum,int pageSize,Map map);

    PageVo<Collect> selectByCollectEid(Collect userid);

    PageVo<Collect> selectByLike(Collect eid);

}
